﻿@using System.Web.Mvc

@helper Meta(string title)
{
    <title>@title</title>
    <meta charset="UTF-8" />
    <!--生成设备虚拟窗口便于开发-->
    <meta name="viewport" content="width=device-width, initial-scale=1.0,  user-scalable=no" />
    <!--解决浏览器兼容性-->
    <meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
}
@helper Common(UrlHelper Url)
{
    <script type="text/javascript">
        function CONTENT_URL(_name) {
            return '@Url.Content("~/")' + _name;
        }

        function SCRIPT_URL(_name) {
            return '@Url.Content("~/Scripts/")' + _name + "?_=" + (Math.random() * 10000);
        }
        //跳转页面
        function ACTION_URL(actionName, controllerName) {
            var _actionUrl = '@Url.Action("ActionName", "ControllerName")';
            return _actionUrl.replace("ActionName", actionName).replace("ControllerName", controllerName);
        }
    </script>
    <script src="~/Scripts/jquery-3.3.1.min.js"></script>
    <script src="~/Scripts/jQueryCF/jquery.cf.js"></script>
    <link rel="icon" href="~/Content/HomePage/home/logo-blue-mini.png" type="img/x-ico" />
    <link href="~/Scripts/Bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Scripts/Bootstrap/css/bootstrapValidator.min.css" rel="stylesheet" />
    <link href="~/Content/HomePage/site.css" rel="stylesheet" />
    <link href="~/Content/CommonCss/SiteCommon.css" rel="stylesheet" />
    <link href="https://at.alicdn.com/t/font_560048_fh2c3772hhl7hkt9.css" rel="stylesheet" />

}


@*@helper EChartmap(UrlHelper Url)
{
<link href="@Url.Content("~/Scripts/ECharts/asset/css/codemirror.css")" rel="stylesheet"/>
<script src="~/Scripts/ECharts/asset/www/js/echarts.js"></script>
<script src="@Url.Content("~/Scripts/ECharts/asset/js/codemirror.js")"></script>
<script src="@Url.Content("~/Scripts/ECharts/asset/js/javascript.js")"></script>
<script src="@Url.Content("~/Scripts/ECharts/asset/js/jquery.min.js")"></script>
<script src="@Url.Content("~/Scripts/ECharts/asset/js/echartsExample.js")"></script>
}*@
@*@helper WebUploader(UrlHelper Url)
    {
        <link href="@Url.Content("~/Scripts/WebUploader/webuploader.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/WebUploader/webuploader.js")"></script>
    }

    @helper zTree(UrlHelper Url) {
        <link href="@Url.Content("~/Scripts/zTree/zTreeStyle.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/zTree/jquery.ztree.js")"></script>
    }

    @helper Tmap(UrlHelper Url)
    {
        <link href="@Url.Content("~/Scripts/Tmap/tmap.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/Tmap/tmap.js")"></script>
        <link href="@Url.Content("~/Content/tmap.wk.css")" rel="stylesheet" />
        <script src="@Url.Content("~/Scripts/tmap.wk.js")"></script>
    }

    @helper UEditor(UrlHelper Url) {
        <script src="@Url.Content("~/Scripts/ueditor/ueditor.config.js")"></script>
        <script src="@Url.Content("~/Scripts/ueditor/ueditor.all.js")"></script>
    }

    @helper UMditor(UrlHelper Url)
    {
        <link rel="stylesheet" type="text/css" href="@Url.Content("~/Scripts/umeditor/themes/default/css/umeditor.css")" />

        <script src="@Url.Content("~/Scripts/umeditor/umeditor.config.js")"></script>
        <script src="@Url.Content("~/Scripts/umeditor/umeditor.js")"></script>
    }


    @helper Star(UrlHelper Url)
    {
        <link rel="stylesheet" type="text/css" href="@Url.Content("~/Scripts/star/css/star-rating.css")" />

        <script src="@Url.Content("~/Scripts/star/js/star-rating.js")"></script>
    }*@

    @*@helper DPicker(UrlHelper Url)
    {
        <link href="@Url.Content("~/Scripts/Bootstrap/css/bootstrap-datetimepicker.css")" rel="stylesheet" />

        <script src="@Url.Content("~/Scripts/Bootstrap/js/bootstrap-datetimepicker.js")"></script>

        <script src="@Url.Content("~/Scripts/Bootstrap/js/bootstrap-datetimepicker.zh-CN.js")"></script>
    }*@
@helper Css(UrlHelper _url, string name)
{
    <link rel="stylesheet" type="text/css" href="@_url.Content("~/Content/" + name)" />
}
@helper Script(UrlHelper _url, string name)
{
    <script src="@_url.Content("~/Scripts/MGJJS/" + name)" type="text/javascript"></script>
}
@helper ScriptSite(UrlHelper _url, string name)
{
    <script src="@_url.Content("~/Scripts/" + name)" type="text/javascript"></script>
}




  @helper uploader(UrlHelper Url)
  {
      @*<link href="@Url.Content("~/Scripts/WebUploader/webuploader.css")" rel="stylesheet" />*@

      @*<script src="@Url.Content("~/Scripts/WebUploader/webuploader.js")"></script>*@
  }
@helper tymgjtype(UrlHelper Url)
{
    @*<link href="@Url.Content("~/Content/Manger/Layer.css")" rel="stylesheet" />*@
  
    <script src="~/Scripts/Bootstrap/js/bootstrap.min.js"></script>
    <script src="~/Scripts/Bootstrap/js/bootstrapValidator.min.js"></script>
    @*<script src="~/Scripts/WebUploader/webuploader.js"></script>*@
    <script src="~/Scripts/WebUploader/webuploader.min.js"></script>
    <script src="~/Scripts/MGJJS/mgjglobal.js"></script>
}


@helper jQueryCF(UrlHelper Url)
{
    <link href="@Url.Content("~/Scripts/jQueryCF/jquery.cf.css")" rel="stylesheet" />
    @*<script src="@Url.Content("~/Scripts/jQueryCF/jquery.cf.js")"></script>*@
}


